package models

import (
	"github.com/astaxie/beego"
)

type WX struct {
	AppId     string
	AppSecret string
	Host      string
}

func NewWxClient() *WX {
	var wx = WX{}
	wx.AppId = beego.AppConfig.String("wx_app_id")
	wx.AppSecret = beego.AppConfig.String("wx_app_secret")
	wx.Host = beego.AppConfig.String("wx_host")

	return &wx
}
